package com.fc.framework.annotation;

import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

@Target(FIELD)
@Retention(RUNTIME)
@Documented
public @interface FilterOperation {

    String hql() default "";

    boolean ignore() default false;

    Operation operation() default Operation.NONE;

    public static enum Operation {
        NONE, LIKE;
    }
}